//核心入口
//继承yeoman generator
const YoGenerator = require('yeoman-generator');

module.exports = class extends YoGenerator {
    writing(){
        this.fs.write(
            this.destination("test.txt"), //项目绝对路径
            Math.random().toString()
        )
    }
}
